#pragma once

#include <string>
#include "curl_manager.h"
#include "Types.h"


namespace ks3::sdk {
class SignerV2 {
public:
    static std::string Sign(const KS3Context& ctx, MethodType method);
private:
    static std::string GetStringForSign(const KS3Context& ctx, MethodType method);
    static std::string ComputeSignature(const std::string& str_for_sign, const std::string& secret_key);

};
}
